Skip to content

Conversation

@maleadt
Copy link
Collaborator

@maleadt maleadt commented Jun 10, 2025

@github-actions
Copy link
Contributor

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic master) to apply these changes.

Click here to view the suggested changes.
diff --git a/src/core/value/constant.jl b/src/core/value/constant.jl
index d81a3950..b9d6cc09 100644
--- a/src/core/value/constant.jl
+++ b/src/core/value/constant.jl
@@ -756,7 +756,7 @@ export GlobalValue, global_value_type,
        visibility, visibility!,
        dllstorage, dllstorage!,
        unnamed_addr, unnamed_addr!,
-       local_unnamed_addr, local_unnamed_addr!
+    local_unnamed_addr, local_unnamed_addr!
 
 """
     parent(val::LLVM.GlobalValue)
@@ -893,8 +893,8 @@ export GlobalVariable, erase!,
        isthreadlocal, threadlocal!,
        threadlocalmode, threadlocalmode!,
        isconstant, constant!,
-       isextinit, extinit!,
-       alignment, alignment!
+    isextinit, extinit!,
+    alignment, alignment!
 
 """
     GlobalVariable <: LLVM.GlobalObject
diff --git a/test/core_tests.jl b/test/core_tests.jl
index 45b28c9a..c333b0c3 100644
--- a/test/core_tests.jl
+++ b/test/core_tests.jl
@@ -804,9 +804,9 @@ end
     extinit!(gv, true)
     @test isextinit(gv)
 
-    @test alignment(gv) == 0
-    alignment!(gv, 4)
-    @test alignment(gv) == 4
+            @test alignment(gv) == 0
+            alignment!(gv, 4)
+            @test alignment(gv) == 4
 
     @test threadlocalmode(gv) == LLVM.API.LLVMGeneralDynamicTLSModel
     threadlocalmode!(gv, LLVM.API.LLVMNotThreadLocal)

@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@           Coverage Diff           @@
##           master     #515   +/-   ##
=======================================
  Coverage   87.88%   87.88%           
=======================================
  Files          45       45           
  Lines        2700     2700           
=======================================
  Hits         2373     2373           
  Misses        327      327           
Files with missing lines Coverage Δ
src/core/value/constant.jl 90.04% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maleadt maleadt merged commit 49eabed into master Jun 10, 2025
25 of 27 checks passed
@maleadt maleadt deleted the tb/gv_alignment branch June 10, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants